<?php
/**
 * Created by PhpStorm.
 * User: ADMIN
 * Date: 2021/6/4
 * Time: 7:19
 */
namespace app\api\controller;

use app\common\controller\Api;

class Goods extends Api
{
    protected $noNeedLogin = '';
    protected $noNeedRight = ['*'];

    public function list()
    {
        $data = \app\common\model\Goods::getCgList();
        $this->success('查询成功', $data);
    }
}